<script setup>
import {useCounterStore} from "@/stores/counter.ts";

const counter = useCounterStore()
console.log(counter.count)
</script>

<template>
  <div>
    <button @click="counter.increment">+</button>
    {{ counter.count }}
    <button @click="counter.decrement">-</button>
  </div>
</template>

<style scoped lang="scss">

</style>
